function refreshOpener() {
    if (window.opener) {
        try {
            window.opener.location.reload();
        }
        catch (err) {
        }
    }
}